package be.vsko.zelfevaluatie.framework;

import java.util.ArrayList;
import java.util.List;

public class Response {
	private Long key;
	private String institution;
	private Group group;
	private Evaluation evaluation;
	private List<Reply> replies = new ArrayList<Reply>();
	
	public Response(String institution, Group group, Evaluation evaluation,
			List<Reply> replies) {
		super();
		this.institution = institution;
		this.group = group;
		this.evaluation = evaluation;
		this.replies = replies;
	}

	public Long getKey() {
		return key;
	}

	public void setKey(Long key) {
		this.key = key;
	}

	public String getInstitution() {
		return institution;
	}

	public void setInstitution(String institution) {
		this.institution = institution;
	}

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public Evaluation getEvaluation() {
		return evaluation;
	}

	public void setEvaluation(Evaluation evaluation) {
		this.evaluation = evaluation;
	}

	public List<Reply> getReplies() {
		return replies;
	}

	public void setReplies(List<Reply> replies) {
		this.replies = replies;
	}

	public class Reply {
		private Statement statement;
		private ReplyOption current;
		private ReplyOption desirable;
		
		public Reply(Statement statement, ReplyOption current, ReplyOption desirable) {
			super();
			this.statement = statement;
			this.current = current;
			this.desirable = desirable;
		}

		public Statement getStatement() {
			return statement;
		}

		public void setStatement(Statement statement) {
			this.statement = statement;
		}

		public ReplyOption getCurrent() {
			return current;
		}

		public void setCurrent(ReplyOption current) {
			this.current = current;
		}

		public ReplyOption getDesirable() {
			return desirable;
		}

		public void setDesirable(ReplyOption desirable) {
			this.desirable = desirable;
		}
	}
}
